#pragma once
#include <QString>
#include "TmsMapTool.h"

class MapCacheManager
{
public:
    MapCacheManager();

    void BuildCacheDirs();

    QString BuildMapFilePath(int zoom, int row, int col, MAP_TYPE type);

    void DeleteAllCache();

private:
    bool BuildDir(const QString &file_path);
    bool DeleteDir(const QString &dirName);
};